package lianxi.anli;

public class Teacher extends Person {
    String salary;
    String education;

    public Teacher() {
    }

    public Teacher(String salary, String education) {
        this.salary = salary;
        this.education = education;
    }


    public void teach(){
        System.out.println("我爱教书");
    }
}
